Skip to content

ref(AccountSecurityEnroll): Re-order methods to make diffs readable #95405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 14, 2025

Conversation

ryan953
Copy link
Member

@ryan953 ryan953 commented Jul 13, 2025

Just moving two functions from lower in the file, up higher in the file.

All the other callbacks depend on these two callbacks, so when we move to a functional component these will need to be defined at the top. Therefore, this PR will make the next set one slightly easier to read.

Related to https://github.com/getsentry/frontend-tsc/issues/2

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 13, 2025
Copy link

codecov bot commented Jul 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #95405       +/-   ##
===========================================
+ Coverage   72.05%   87.80%   +15.75%     
===========================================
  Files       10512    10495       -17     
  Lines      606370   605862      -508     
  Branches    23717    23683       -34     
===========================================
+ Hits       436897   531996    +95099     
+ Misses     167093    73508    -93585     
+ Partials     2380      358     -2022     

@ryan953 ryan953 marked this pull request as ready for review July 14, 2025 15:40
@ryan953 ryan953 requested a review from a team July 14, 2025 15:40
@ryan953 ryan953 merged commit 2096754 into master Jul 14, 2025
47 checks passed
@ryan953 ryan953 deleted the ryan953/ref-AccountSecurityEnroll-pre1 branch July 14, 2025 16:19
andrewshie-sentry pushed a commit that referenced this pull request Jul 14, 2025
…95405)

Just moving two functions from lower in the file, up higher in the file.

All the other callbacks depend on these two callbacks, so when we move
to a functional component these will need to be defined at the top.
Therefore, this PR will make the next set one slightly easier to read.

Related to getsentry/frontend-tsc#2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants